const mongoose=require("mongoose");

var DishSchema=new mongoose.Schema({
    dname:String,
    price:Number,
    img:String,
    merchant:{type:mongoose.Schema.Types.ObjectId, ref:"merchant"},
    status:Number,
    createDate:Date
});

mongoose.model("dish",DishSchema);